<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Kaarel Kaljurand">

    <title>瓜大语音输入（测试版）</title>

    <!-- Latest compiled and minified CSS -->
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">

    <!-- Optional theme -->
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">

    <link rel="stylesheet" type="text/css" href="static/demos/css/demo.css">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="container">

<span id="serverStatusBar" title="Number of available workers"></span>

<div class="buttonsContainer">
<span class="buttons">
<button
	id="buttonToggleListening"
	onclick="toggleListening();"
	title="Starts/stops listening for speech.">Start</button>
<!--<button
	id="buttonCancel"
	disabled="disabled"
	onclick="cancel();"
	title="Cancels the speech recognition.">Cancel</button>-->
<button
    onclick="clearTranscription();"
    title="Clears the transcription">Clear</button>
</span>
</div>

<h2>瓜大语音输入（测试版）</h2>
<textarea id="trans" rows="13" style="width:100%; margin-top:.5em">
</textarea>

<select id="servers" name="servers" style="margin-top:.5em">
  <!--<option value="ws://">None</option>-->
  <option value="ws://localhost:8000/ws/decode" selected="selected">Dictate</option>
</select>

<hr/>

<ul>
<li>目前仅支持chrome或firefox浏览器，如果不能正常使用，请更新浏览器到最新版本。</li>
<li>如浏览器弹出是否“使用您的麦克风”，请选择允许。</li>
<li>如识别有问题，请首先检查麦克风设置，如音量大小。</li>
<li>识别完毕，请点击"stop"退出，或关闭浏览器（或手机APP），以释放识别资源供其他用户测试。</li>
<li>有时由于网络速度问题和服务器资源抢占问题，识别速度较慢。</li>
<li>目前只支持校园IP使用，校外无法使用。</li>
<li>安卓手机版APK下载：<a href="static/瓜大语音输入.apk">npu-asr.apk</a>。在手机上安装进行手机端识别测试。</li>
<li>如果有任何问题请反馈。Web页面版给何长青（494268393@qq.com）；手机APK版请反馈给单长浩（sch_2015@qq.com）。</li>
</ul>

<br />

<pre id="log">
</pre>


    </div><!-- /.container -->

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="static/demos/other/jquery-1.10.2.min.js"></script>
    <!-- Latest compiled and minified JavaScript -->
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>

    <script src="static/lib/dictate.js"></script>
    <script src="static/lib/recorder.js"></script>
    <script src="static/demos/mob.js"></script>
  </body>
</html>
